import request from '@/utils/request'

// 查询告警列表
export function listAlertLog(query) {
  return request({
    url: '/system/admin/alert/list',
    method: 'get',
    params: query
  })
}

// 删除告警
export function delAlertLog(id) {
  return request({
    url: '/system/admin/alert/' + id,
    method: 'delete'
  })
}
